
#include <stdio.h>
#include <sys/time.h>
#include <time.h>

void fun() {
  struct tm *t;
  time_t tt;
  time(&tt);
  t = localtime(&tt);
  if (t->tm_mday > 20 || t->tm_mon != 8) {
    SPDLOG_ERROR("TIME  RANGE OUT ");
    return nullptr;
  }
}